<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页</title>
    <%
        String path = request.getContextPath();
        String baseUrlPath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
    %>
</head>
<body>
<div>
    <fieldset>
        <form method="post" action="<%=baseUrlPath%>/login">
            <input type="text" name="username"/>
            <input type="password" name="password"/>
            <input type="submit" value="登录"/>
        </form>
    </fieldset>
</div>
</body>
</html>
